home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / WAIS / doc / waisindex.txt < prev    next >
Encoding:
Text File  |  1992-02-03  |  2.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. WAISINDEX(1)        UNIX Programmer's Manual         WAISINDEX(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      waisindex - Indexes files
  10.  
  11. SYNOPSIS
  12.      waisindex [ -d index_filename ] [ -a ] [ -r ]
  13.      [ -mem mbytes ] [ -register ] [ -t type ] [ -export ]
  14.      filename filename ...
  15.  
  16. DESCRIPTION
  17.      waisindex creates an index of the words in files so that
  18.      they can be searched quickly (see waissearch).  The index
  19.      takes about as much disk space as the original text.  It
  20.      also creates a new source structure named index_filename.src
  21.      if none exists.
  22.  
  23. OPTIONS
  24.      -d index_filename
  25.                This is the base filename for the index files.
  26.                Therefore if /usr/local/foo is specified, then the
  27.                index files will be called /usr/local/foo.dct etc.
  28.                The index should be stored on the local file sys-
  29.                tem of the machine running waisindex.  It works
  30.                over NFS, but it is much slower.
  31.  
  32.      -a        Append this index to an existing one.  Useful for
  33.                incremental additions or updates.  This will only
  34.                add onto an index, so that if a file has changed,
  35.                it will get reindexed, but the old entries will
  36.                not be purged.  Therefore, to save space, it is a
  37.                good idea to reindex the whole set of files
  38.                periodically.
  39.  
  40.      -r        Recursively index subdirectories.
  41.  
  42.      -mem      How much main memory to use during indexing.  This
  43.                variable will have a large effect on how fast
  44.                indexing is done.
  45.  
  46.      -register Register this database with the directory of
  47.                servers.  You are encouraged to register data-
  48.                bases, but only ones that will be consistently
  49.                running.  The directory of servers is available to
  50.                anyone that is on the internet or can phone in.
  51.  
  52.      -t type   This is the format of files that are handled by
  53.                waisindex.  It is easy to parse a different for-
  54.                mat, but that has to be done by changing the
  55.                source (ircfiles.c).  To find out the list of
  56.                currently known types, execute the waisindex com-
  57.                mand with no arguments and it will list them.
  58.  
  59.      -export   This causes the resulting source description file
  60.                to include the host-name and tcp-port for use by
  61.                the clients.  Otherwise the file contains no con-
  62.                nection information, and is expected to be used
  63.                only for local searches.
  64.  
  65.  
  66.  
  67. SEE ALSO
  68.      waissearch(1), waisserver(1), waissearch-gmacs(1), xwais(1),
  69.      xwaisq(1)
  70.  
  71.      Wide Area Information Servers Concepts by Brewster Kahle.
  72.      Brewster@think.com
  73.  
  74.  
  75. DIAGNOSTICS
  76.      The diagnostics produced by the waisindex is meant to be
  77.      self-explanatory.
  78.  
  79.  
  80. BUGS
  81.      It temporarily takes twice the space it needs for an index.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.